/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Views;



import Controller.Controller;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFrame;

/**
 *
 * @author ibrahim
 */
public class MainFrame extends JFrame {
    
    private MainPanel myMainPanel;
 
    public MainFrame() {
        super("Systeme de gestion Restaurant");
        setMinimumSize(new Dimension(500, 400));
        setLayout(new BorderLayout());
        setSize(600, 500);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setVisible(true);
       
        this.myMainPanel = new MainPanel();
        add(this.myMainPanel,BorderLayout.CENTER);
        
        

       
        
    }
            
    
}
